﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace haptic.src.engine.design
{
    public class Singleton<T> where T:new()
    {
        #region Constructors
        public static void Create()
        {
            m_oInstance = new T();
        }
        #endregion

        #region Attributes
        private static T m_oInstance;
        public static T Inst { get { return m_oInstance; } }
        #endregion
    }
}
